package com.omar.labs.tamtamy.XML;

import java.util.ArrayList;
import com.omar.labs.tamtamy.CommentList;
import com.omar.labs.tamtamy.utils.XMLUtility;

public class XMLCommentList extends CommentList{

	public XMLCommentList(String xml){
		super();
		ArrayList<String> v = XMLUtility.getNodesValue(xml, "it.reply.tt.rest.entity.KcLComment");
		for(int i=0; i<v.size(); i++){
			String tmp = v.get(i);
			XMLComment tmpCont = new XMLComment(tmp);
			this.add(tmpCont);  
		}			
	}

}
